package com.leyou.user.service;

import com.leyou.user.pojo.User;

/**
 * @ClassName UserService
 * @Date 2019/2/23 19:47
 */
public interface UserService {
    Boolean checkUser(String data, Integer type);

    void sendCode(Long phone);

    void registerUser(User user, String code);

    User queryUserByNameAndPwd(String username, String password);
}
